package com.example.base.vo;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
@AllArgsConstructor
public enum RespBeanEnum {
    ERROR(500, "服务器异常"),
    BINDING_ERROR(50010, "参数校验错误"),
    LOGIN_ERROR(50011, "用户名或密码错误"),
    STUDENTNO_ERROR(50012, "学号错误"),
    MATCH_ERROR(50013, "学号与认证码不匹配"),
    GENDER_ERROR(50014, "性别不匹配"),
    CHOOSE_ERROR(50015, "已经选过宿舍"),
    BUILDING_ERROR(50016, "楼名称错误"),
    BUILDING_NO_UNIT_ERROR(50017, "楼号没有单元"),
    SUBMITTER_EMPTY_ERROR(50018, "提交者信息为空"),
    NOROOM_ERROR(50019, "没有满足条件的房间"),

    SUCCESS(200, "成功");

    private final Integer status;
    private final String message;
}
